package com.zzh.rabbit;


import android.os.Bundle;
import android.view.View;

import com.zzh.mvvm.base.BaseRabbitActivity;
import com.zzh.rabbit.databinding.ActToolbarResBinding;

/**
 * Created by ZZH on 2022/11/24.
 *
 * @Date: 2022/11/24
 * @Email: zzh_hz@126.com
 * @QQ: 1299234582
 * @Author: zzh
 * @Description:
 */
public class ToolbarResAct extends BaseRabbitActivity<ToolbarResViewModel, ActToolbarResBinding> {
    @Override
    protected void initViewAndData(Bundle savedInstanceState) {
        bind.tvMain.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(MainActivity.class);
            }
        });

    }

    @Override
    protected int initVariableId() {
        return BR.viewModel;
    }
}
